﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RoomList.aspx.cs" Inherits="AiRiZu.RoomList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>其它城市房间</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <%--地图使用--%>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&language=zh&region=cn"></script>
    
    <script language="javascript" type="text/javascript">
        var geocoder;
        var map;
        var query = "北京";
        function initialize() {
            geocoder = new google.maps.Geocoder();
            var myOptions = {
                zoom: 10,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            }
            map = new google.maps.Map(document.getElementById("container"), myOptions);
            codeAddress();
        }

        function codeAddress() {
            var address = query;
            geocoder.geocode({ 'address': address }, function(results, status) {
                if (status == google.maps.GeocoderStatus.OK) {
                    map.setCenter(results[0].geometry.location);
                    var marker = new google.maps.Marker({
                        map: map,
                        position: results[0].geometry.location
                    });
                } else {
                    alert("Geocode was not successful for the following reason: " + status);
                }
            });
        }
   
        function toggleLocationPop() {
            if (document.getElementById("cityPop").style.display == "none") {
                document.getElementById("cityPop").style.display = "block";
                document.getElementById("cityname").style.display = "block";
            }
            else {
                document.getElementById("cityPop").style.display = "none";
            }
        }
    </script>

    <script language="javascript" type="text/javascript">
        function hid(citytypeid, citytypeid1, citytypeid2, citytypeid3, citytypeid4) {
            document.getElementById("cityname").style.display = "block";
            document.getElementById(citytypeid).style.display = "block";
            document.getElementById(citytypeid1).style.display = "none";
            document.getElementById(citytypeid2).style.display = "none";
            document.getElementById(citytypeid3).style.display = "none";
            document.getElementById(citytypeid4).style.display = "none";
        }
    </script>

    <script language="javascript" type="text/javascript">
        function setSearchCity(id1, id2, id3) {
            //            document.getElementById("searchCity").value = id3;
            document.getElementById("searchCityValue").value = id3;
            document.getElementById("cityPop").style.display = "none";
            document.getElementById("cityname").style.display = "none";
        }
    </script>

    <%--点击入住时间--%>

    <script type="text/javascript">
        function displaydate() {
            document.getElementById("riqi").style.display = "block";
            document.getElementById("riqi1").style.display = "none";
            var str = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"200\" id=\"riqitable\"><tr><th>日</th><th width=\"28\">一</th><th width=\"28\">二</th><th width=\"28\">三</th><th width=\"28\">四</th><th width=\"28\">五</th><th width=\"28\">六<\/th></tr>";
            //str += "<tr>";
            var mystr = "";
            var myDate = new Date();
            var nowyear = myDate.getFullYear(); //获取当前年份            
            var nowmonth = myDate.getMonth(); //获取当前月份
            var nowday = myDate.getDate();
            var firstdayofweek = new Date(nowyear, nowmonth, 1).getDay(); //获取本年本月1日是一周中的第几天
            var shengyudays = 7 - firstdayofweek;
            var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年本月一共多少天
            document.getElementById("nowdate").innerHTML = changemonth(nowmonth) + "月 " + nowyear + "年";
            var j = 1;
            for (var row = 1; row < 7; row++) {
                for (var cell = 0; cell < 7; cell++) {
                    if (j > daycount) {
                        if (j < row * 7) {
                            for (var i = 0; i < row * 7 - daycount - firstdayofweek; i++) {
                                str += "<td class=\"bg_c6\"></td>";
                            }
                            //str += "</tr>";    
                        }
                        //mystr = str.substring(0, str.lastIndexOf('<tr>'));
                        break;
                    }
                    if (row == "1") {
                        if (cell < firstdayofweek) {
                            str += "<td class=\"bg_c6\"></td>";
                        }
                        else if (j < nowday) {
                            str += "<td class=\"bg_c6\">" + j + "</td>";
                            j = j + 1;
                        }
                    }
                    else if (j < nowday) {
                        str += "<td class=\"bg_c6\">" + j + "</td>";
                        j = j + 1;
                    }
                    else if (j == nowday) {
                        str += "<td class=\"bg_blue\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                    else {
                        str += "<td onmouseout=\"returncss(\'td" + j + "\');\" onmousemove=\"getcss(\'td" + j + "\');\" id=\"td" + j + "\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                }
                str += "</tr><tr>";
            }
            mystr = str.substring(0, str.lastIndexOf('<tr>'));
            mystr += "</table>";
            document.getElementById("contain").innerHTML = mystr;
        }
        
    </script>

    <%--鼠标移动到日期的样式--%>

    <script type="text/javascript">
        function getcss(aa) {
            document.getElementById(aa).className = "bg_blue";
        }
    </script>

    <%--鼠标移动出日期的样式--%>

    <script type="text/javascript">
        function returncss(bb) {
            document.getElementById(bb).className = "";
        }
    </script>

    <%--点击日期，将日期赋值给入住时间--%>

    <script type="text/javascript">
        function getdate(obj) {
            var myDate = new Date();
            var arr = document.getElementById("nowdate").innerHTML.split(' ');
            var arrmonth = arr[0].split('月');
            var nowmonth = parseInt(changemonth1(arrmonth[0])) + 1;
            if (nowmonth < 10) {
                nowmonth = "0" + nowmonth;
            }
            var arryear = arr[1].split('年');
            var nowyear = arryear[0];
            if (obj < 10) {
                obj = "0" + obj;
            }
            //var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年本月一共多少天
            //            if (obj == daycount) { 
            //                
            //            }
            var myday = obj;
            var nowdate = nowyear + "-" + nowmonth + "-" + myday;
            document.getElementById("ruzhudate").value = nowdate;
            document.getElementById("ruzhudatevalue").value = nowdate;
            document.getElementById("riqi").style.display = "none";
            document.getElementById("riqi1").style.display = "block";
            displaydate1(nowyear, nowmonth, myday);
        }
    </script>

    <%--自动弹出退房时间，入住时间+1天--%>

    <script type="text/javascript">
        function displaydate1(nowyear, nowmonth, nowday) {
            var str = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"200\" id=\"riqitable\"><tr><th>日</th><th width=\"28\">一</th><th width=\"28\">二</th><th width=\"28\">三</th><th width=\"28\">四</th><th width=\"28\">五</th><th width=\"28\">六<\/th></tr>";
            var mystr = "";
            //var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年本月一共多少天
            if (nowmonth < 10) {
                nowmonth = parseInt(nowmonth.replace("0", "")) - 1;
            }
            else {
                nowmonth = parseInt(nowmonth) - 1;
            }
            if (nowday < 10) {
                nowday = nowday.replace("0", "");
            }

            var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年前一个月一共多少天
            if (daycount == nowday) {
                nowday = "0";
                if (nowmonth == 12) {
                    nowyear = nowyear + 1;
                    nowmonth = "1";
                }
                else {
                    nowmonth = nowmonth + 1;
                }
                daycount = new Date(nowyear, nowmonth + 1, 0).getDate();
            }

            var firstdayofweek = new Date(nowyear, nowmonth, 1).getDay(); //获取本年本月1日是一周中的第几天            
            var shengyudays = 7 - firstdayofweek;
            document.getElementById("nowdate1").innerHTML = changemonth(nowmonth) + "月 " + nowyear + "年";
            var rowcount = parseInt(daycount + firstdayofweek) / 7 + 1;
            var j = 1;
            for (var row = 1; row < rowcount; row++) {
                for (var cell = 0; cell < 7; cell++) {
                    if (j > daycount) {
                        if (j < row * 7) {
                            for (var i = 0; i < row * 7 - daycount - firstdayofweek; i++) {
                                str += "<td class=\"bg_c6\"></td>";
                            }
                        }
                        break;
                    }
                    if (row == "1") {
                        if (cell < firstdayofweek) {
                            str += "<td class=\"bg_c6\"></td>";
                        }
                        else if (j < parseInt(nowday) + 1) {
                            str += "<td class=\"bg_c6\">" + j + "</td>";
                            j = j + 1;
                        }
                        else if (j == nowday + 1) {
                            str += "<td class=\"bg_blue\" style=\"cursor:hand\" onclick=\"getdate1(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                        else {
                            str += "<td onmouseout=\"returncss(\'mytd" + j + "\');\" onmousemove=\"getcss(\'mytd" + j + "\');\" id=\"mytd" + j + "\" style=\"cursor:hand\" onclick=\"getdate1(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                    }
                    else if (j == parseInt(nowday) + 1) {
                        str += "<td class=\"bg_blue\" style=\"cursor:hand\" onclick=\"getdate1(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                    else if (j < parseInt(nowday) + 1) {
                        str += "<td class=\"bg_c6\">" + j + "</td>";
                        j = j + 1;
                    }
                    else {
                        str += "<td onmouseout=\"returncss(\'mytd" + j + "\');\" onmousemove=\"getcss(\'mytd" + j + "\');\" id=\"mytd" + j + "\" style=\"cursor:hand\" onclick=\"getdate1(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                }
                str += "</tr><tr>";
            }
            mystr = str.substring(0, str.lastIndexOf('<tr>'));
            mystr += "</table>";
            document.getElementById("contain1").innerHTML = mystr;
        }
        
    </script>

    <%--获取退房时间--%>

    <script type="text/javascript">
        function getdate1(obj) {
            var arr = document.getElementById("nowdate1").innerHTML.split(' ');
            var arrmonth = arr[0].split('月');
            var nowmonth = parseInt(changemonth1(arrmonth[0])) + 1;
            if (nowmonth < 10) {
                nowmonth = "0" + nowmonth;
            }
            var arryear = arr[1].split('年');
            var nowyear = arryear[0];
            if (obj < 10) {
                obj = "0" + obj;
            }
            var myday = obj;
            var nowdate = nowyear + "-" + nowmonth + "-" + myday;
            document.getElementById("ruzhudate1").value = nowdate;
            document.getElementById("ruzhudate1value").value = nowdate;
            //            document.getElementById("riqi").style.display = "none";
            document.getElementById("riqi1").style.display = "none";
            //            displaydate1(nowyear, nowmonth, myday);
        }
    </script>

    <%--点击退房时间控件--%>

    <script type="text/javascript">
        function gettuifangdate() {
            document.getElementById("riqi").style.display = "none";
            document.getElementById("riqi1").style.display = "block";
            if (document.getElementById("ruzhudate").value = "yyyy-mm-dd") {
                var str = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"200\" id=\"riqitable\"><tr><th>日</th><th width=\"28\">一</th><th width=\"28\">二</th><th width=\"28\">三</th><th width=\"28\">四</th><th width=\"28\">五</th><th width=\"28\">六<\/th></tr>";
                //str += "<tr>";
                var mystr = "";
                var myDate = new Date();
                var nowyear = myDate.getFullYear(); //获取当前年份            
                var nowmonth = myDate.getMonth(); //获取当前月份
                var nowday = myDate.getDate();
                var firstdayofweek = new Date(nowyear, nowmonth, 1).getDay(); //获取本年本月1日是一周中的第几天
                var shengyudays = 7 - firstdayofweek;
                var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年本月一共多少天
                document.getElementById("nowdate1").innerHTML = changemonth(nowmonth) + "月 " + nowyear + "年";
                var rowcount = parseInt(daycount + firstdayofweek) / 7 + 1;
                var j = 1;
                for (var row = 1; row < rowcount; row++) {
                    for (var cell = 0; cell < 7; cell++) {
                        if (j > daycount) {
                            if (j < row * 7) {
                                for (var i = 0; i < row * 7 - daycount - firstdayofweek; i++) {
                                    str += "<td class=\"bg_c6\"></td>";
                                }
                                //str += "</tr>";    
                            }
                            //mystr = str.substring(0, str.lastIndexOf('<tr>'));
                            break;
                        }
                        if (row == "1") {
                            if (cell < firstdayofweek) {
                                str += "<td class=\"bg_c6\"></td>";
                            }
                            else if (j < nowday) {
                                str += "<td class=\"bg_c6\">" + j + "</td>";
                                j = j + 1;
                            }
                        }
                        else if (j < nowday) {
                            str += "<td class=\"bg_c6\">" + j + "</td>";
                            j = j + 1;
                        }
                        else if (j == nowday) {
                            str += "<td class=\"bg_blue\" style=\"cursor:hand\" onclick=\"getdate2(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                        else {
                            str += "<td onmouseout=\"returncss(\'td" + j + "\');\" onmousemove=\"getcss(\'td" + j + "\');\" id=\"td" + j + "\" style=\"cursor:hand\" onclick=\"getdate2(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                    }
                    str += "</tr><tr>";
                }
                mystr = str.substring(0, str.lastIndexOf('<tr>'));
                mystr += "</table>";
                document.getElementById("contain1").innerHTML = mystr;
            }

        }
        
    </script>

    <%--当入住时间为yyyy-mm-dd时，点击退房时间控件--%>

    <script type="text/javascript">
        function getdate2(obj) {
            var arr = document.getElementById("nowdate1").innerHTML.split(' ');
            var arrmonth = arr[0].split('月');
            var nowmonth = parseInt(changemonth1(arrmonth[0])) + 1;
            if (nowmonth < 10) {
                nowmonth = "0" + nowmonth;
            }
            var arryear = arr[1].split('年');
            var nowyear = arryear[0];
            if (obj < 10) {
                obj = "0" + obj;
            }
            var myday = obj;
            var nowdate = nowyear + "-" + nowmonth + "-" + myday;
            document.getElementById("ruzhudate1").value = nowdate;
            document.getElementById("ruzhudate1value").value = nowdate;
            document.getElementById("riqi1").style.display = "none";
            document.getElementById("riqi").style.display = "block";
            displaydate2(nowyear, nowmonth, myday);
        }
    </script>

    <%--当先选择退房时间，入住时间-1天--%>

    <script type="text/javascript">
        function displaydate2(nowyear, nowmonth, nowday) {
            var str = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"200\" id=\"riqitable\"><tr><th>日</th><th width=\"28\">一</th><th width=\"28\">二</th><th width=\"28\">三</th><th width=\"28\">四</th><th width=\"28\">五</th><th width=\"28\">六<\/th></tr>";
            var mystr = "";
            //var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年本月一共多少天
            if (nowmonth < 10) {
                nowmonth = parseInt(nowmonth.replace("0", "")) - 1;
            }
            else {
                nowmonth = parseInt(nowmonth) - 1;
            }
            if (nowday < 10) {
                nowday = nowday.replace("0", "");
            }

            var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年前一个月一共多少天
            if (nowday == "1") {
                if (nowmonth == "1") {
                    nowyear = nowyear - 1;
                    nowmonth = "12";
                }
                else {
                    nowmonth = nowmonth - 1;
                }
                daycount = new Date(nowyear, nowmonth - 1, 0).getDate();
                nowday = daycount;
            }
            else {
                nowday = nowday - 1;
            }

            var firstdayofweek = new Date(nowyear, nowmonth, 1).getDay(); //获取本年本月1日是一周中的第几天            
            var shengyudays = 7 - firstdayofweek;
            document.getElementById("nowdate").innerHTML = changemonth(nowmonth) + "月 " + nowyear + "年";
            var rowcount = parseInt(daycount + firstdayofweek) / 7 + 1;
            var j = 1;
            for (var row = 1; row < rowcount; row++) {
                for (var cell = 0; cell < 7; cell++) {
                    if (j > daycount) {
                        if (j < row * 7) {
                            for (var i = 0; i < row * 7 - daycount - firstdayofweek; i++) {
                                str += "<td class=\"bg_c6\"></td>";
                            }
                        }
                        break;
                    }
                    if (row == "1") {
                        if (cell < firstdayofweek) {
                            str += "<td class=\"bg_c6\"></td>";
                        }
                        else if (j < parseInt(nowday) - 1) {
                            str += "<td class=\"bg_c6\">" + j + "</td>";
                            j = j + 1;
                        }
                        else if (j == nowday) {
                            str += "<td class=\"bg_blue\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                        else {
                            str += "<td onmouseout=\"returncss(\'td" + j + "\');\" onmousemove=\"getcss(\'td" + j + "\');\" id=\"td" + j + "\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                    }
                    else if (j == parseInt(nowday)) {
                        str += "<td class=\"bg_blue\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                    else if (j < parseInt(nowday) + 1) {
                        str += "<td class=\"bg_c6\">" + j + "</td>";
                        j = j + 1;
                    }
                    else {
                        str += "<td onmouseout=\"returncss(\'td" + j + "\');\" onmousemove=\"getcss(\'td" + j + "\');\" id=\"td" + j + "\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                }
                str += "</tr><tr>";
            }
            mystr = str.substring(0, str.lastIndexOf('<tr>'));
            mystr += "</table>";
            document.getElementById("contain").innerHTML = mystr;
        }
        
    </script>

    <%--阿拉伯数字月份转化成汉字月份--%>

    <script type="text/javascript">
        function changemonth(month) {
            var nowmonth = "";
            if (month == "0") {
                nowmonth = "一";
            }
            if (month == "1") {
                nowmonth = "二";
            }
            if (month == "2") {
                nowmonth = "三";
            }
            if (month == "3") {
                nowmonth = "四";
            }
            if (month == "4") {
                nowmonth = "五";
            }
            if (month == "5") {
                nowmonth = "六";
            }
            if (month == "6") {
                nowmonth = "七";
            }
            if (month == "7") {
                nowmonth = "八";
            }
            if (month == "8") {
                nowmonth = "九";
            }
            if (month == "9") {
                nowmonth = "十";
            }
            if (month == "10") {
                nowmonth = "十一";
            }
            if (month == "11") {
                nowmonth = "十二";
            }
            return nowmonth;
        }
    </script>

    <%--汉字月份转化成阿拉伯数字月份--%>

    <script type="text/javascript">
        function changemonth1(month) {
            var nowmonth = "";
            if (month == "一") {
                nowmonth = "0";
            }
            if (month == "二") {
                nowmonth = "1";
            }
            if (month == "三") {
                nowmonth = "2";
            }
            if (month == "四") {
                nowmonth = "3";
            }
            if (month == "五") {
                nowmonth = "4";
            }
            if (month == "六") {
                nowmonth = "5";
            }
            if (month == "七") {
                nowmonth = "6";
            }
            if (month == "八") {
                nowmonth = "7";
            }
            if (month == "九") {
                nowmonth = "8";
            }
            if (month == "十") {
                nowmonth = "9";
            }
            if (month == "十一") {
                nowmonth = "10";
            }
            if (month == "十二") {
                nowmonth = "11";
            }
            return nowmonth;
        }
    </script>

    <%--清楚日期内容--%>

    <script type="text/javascript">
        function cleardate() {
            document.getElementById("riqi").style.display = "none";
            document.getElementById("riqi1").style.display = "none";
            document.getElementById("ruzhudate").value = "yyy-mm-dd";
            document.getElementById("ruzhudatevalue").value = "yyy-mm-dd";
            document.getElementById("ruzhudate1").value = "yyy-mm-dd";
            document.getElementById("ruzhudate1value").value = "yyy-mm-dd";
        }
    </script>

    <%--入住时间后一个月--%>

    <script type="text/javascript">
        function nextmonth() {
            document.getElementById("riqi").style.display = "block";
            document.getElementById("riqi1").style.display = "none";
            var arr = document.getElementById("nowdate").innerHTML.split(' ');
            var arrmonth = arr[0].split('月');
            var arryear = arr[1].split('年');
            var nowyear = arryear[0];
            var nowmonth = "";
            if (changemonth1(arrmonth[0]) == "11") {
                nowmonth = "0";
                nowyear = parseInt(nowyear) + 1;
            }
            else {
                nowmonth = parseInt(changemonth1(arrmonth[0])) + 1;
            }
            newmonth(nowyear, nowmonth);
            var myDate = new Date();
            var nowyear1 = myDate.getFullYear(); //获取当前年份            
            var nowmonth1 = myDate.getMonth(); //获取当前月份
            if (nowmonth > nowmonth1) {
                if (document.getElementById("xiangqian") != "") {
                    if (document.getElementById("xiangqian") != null) {
                        document.getElementById("xiangqian").className = "l_arrow"; //需要更换的向前图标
                        //                document.getElementById("xiangqian").onclick = "beforedate();";
                        document.getElementById("xiangqian").id = "xiangqian1";
                        document.getElementById("xiangqian1").style.cursor = "hand";
                    }
                }
                else {
                    document.getElementById("xiangqian1").className = "l_arrow"; //需要更换的向前图标
                    //                document.getElementById("xiangqian").onclick = "beforedate();";
                    //document.getElementById("xiangqian").id = "xiangqian1";
                    document.getElementById("xiangqian1").style.cursor = "hand";
                }

            }
        }
    </script>

    <%--入住时间点击下个月后，搭建表--%>

    <script type="text/javascript">
        function newmonth(nowyear, nowmonth) {
            var str = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"200\" id=\"riqitable\"><tr><th>日</th><th width=\"28\">一</th><th width=\"28\">二</th><th width=\"28\">三</th><th width=\"28\">四</th><th width=\"28\">五</th><th width=\"28\">六<\/th></tr>";
            var mystr = "";
            var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年前一个月一共多少天
            var firstdayofweek = new Date(nowyear, nowmonth, 1).getDay(); //获取本年本月1日是一周中的第几天            
            var shengyudays = 7 - firstdayofweek;
            document.getElementById("nowdate").innerHTML = changemonth(nowmonth) + "月 " + nowyear + "年";
            var rowcount = parseInt(daycount + firstdayofweek) / 7 + 1;
            var j = 1;
            for (var row = 1; row < rowcount; row++) {
                for (var cell = 0; cell < 7; cell++) {
                    if (j > daycount) {
                        if (j < row * 7) {
                            for (var i = 0; i < row * 7 - daycount - firstdayofweek; i++) {
                                str += "<td class=\"bg_c6\"></td>";
                            }
                        }
                        break;
                    }
                    if (row == "1") {
                        if (cell < firstdayofweek) {
                            str += "<td class=\"bg_c6\"></td>";
                        }
                        else {
                            str += "<td onmouseout=\"returncss(\'td" + j + "\');\" onmousemove=\"getcss(\'td" + j + "\');\" id=\"td" + j + "\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                    }
                    else {
                        str += "<td onmouseout=\"returncss(\'td" + j + "\');\" onmousemove=\"getcss(\'td" + j + "\');\" id=\"td" + j + "\" style=\"cursor:hand\" onclick=\"getdate(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                }
                str += "</tr><tr>";
            }
            mystr = str.substring(0, str.lastIndexOf('<tr>'));
            mystr += "</table>";
            document.getElementById("contain").innerHTML = mystr;
        }
        
    </script>

    <%--入住时间前一个月--%>

    <script type="text/javascript">
        function beforedate(obj) {
            document.getElementById("riqi").style.display = "block";
            document.getElementById("riqi1").style.display = "none";
            if (obj == "xiangqian") {
                return;
            }
            else {
                var arr = document.getElementById("nowdate").innerHTML.split(' ');
                var arrmonth = arr[0].split('月');
                var arryear = arr[1].split('年');
                var nowyear = arryear[0];
                var nowmonth = "";
                if (changemonth1(arrmonth[0]) == "0") {
                    nowmonth = "11";
                    nowyear = parseInt(nowyear) - 1;
                }
                else {
                    nowmonth = parseInt(changemonth1(arrmonth[0])) - 1;
                }
                displaydate();
                var myDate = new Date();
                var nowyear1 = myDate.getFullYear(); //获取当前年份            
                var nowmonth1 = myDate.getMonth(); //获取当前月份
                if (nowmonth == nowmonth1) {
                    document.getElementById("xiangqian1").className = "l_arrow";
                }
            }

        }
    </script>

    <%--退房时间后一个月--%>

    <script type="text/javascript">
        function nextmonth1() {
            document.getElementById("riqi").style.display = "none";
            document.getElementById("riqi1").style.display = "block";
            var arr = document.getElementById("nowdate1").innerHTML.split(' ');
            var arrmonth = arr[0].split('月');
            var arryear = arr[1].split('年');
            var nowyear = arryear[0];
            var nowmonth = "";
            if (changemonth1(arrmonth[0]) == "11") {
                nowmonth = "0";
                nowyear = parseInt(nowyear) + 1;
            }
            else {
                nowmonth = parseInt(changemonth1(arrmonth[0])) + 1;
            }
            newmonth1(nowyear, nowmonth);
            var myDate = new Date();
            var nowyear1 = myDate.getFullYear(); //获取当前年份            
            var nowmonth1 = myDate.getMonth(); //获取当前月份
            if (nowmonth > nowmonth1) {
                if (document.getElementById("xiangqian2") != "") {
                    if (document.getElementById("xiangqian2") != null) {
                        document.getElementById("xiangqian2").className = "l_arrow"; //需要更换的向前图标
                        //                document.getElementById("xiangqian").onclick = "beforedate();";
                        document.getElementById("xiangqian2").id = "xiangqian3";
                        document.getElementById("xiangqian3").style.cursor = "hand";
                    }
                }
                else {
                    document.getElementById("xiangqian3").className = "l_arrow"; //需要更换的向前图标
                    //                document.getElementById("xiangqian").onclick = "beforedate();";
                    //document.getElementById("xiangqian").id = "xiangqian1";
                    document.getElementById("xiangqian3").style.cursor = "hand";
                }

            }
        }
    </script>

    <%--退房时间点击下个月后，搭建表--%>

    <script type="text/javascript">
        function newmonth1(nowyear, nowmonth) {
            var str = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"200\" id=\"riqitable\"><tr><th>日</th><th width=\"28\">一</th><th width=\"28\">二</th><th width=\"28\">三</th><th width=\"28\">四</th><th width=\"28\">五</th><th width=\"28\">六<\/th></tr>";
            var mystr = "";
            var daycount = new Date(nowyear, nowmonth + 1, 0).getDate(); //获取本年前一个月一共多少天
            var firstdayofweek = new Date(nowyear, nowmonth, 1).getDay(); //获取本年本月1日是一周中的第几天            
            var shengyudays = 7 - firstdayofweek;
            document.getElementById("nowdate1").innerHTML = changemonth(nowmonth) + "月 " + nowyear + "年";
            var rowcount = parseInt(daycount + firstdayofweek) / 7 + 1;
            var j = 1;
            for (var row = 1; row < rowcount; row++) {
                for (var cell = 0; cell < 7; cell++) {
                    if (j > daycount) {
                        if (j < row * 7) {
                            for (var i = 0; i < row * 7 - daycount - firstdayofweek; i++) {
                                str += "<td class=\"bg_c6\"></td>";
                            }
                        }
                        break;
                    }
                    if (row == "1") {
                        if (cell < firstdayofweek) {
                            str += "<td class=\"bg_c6\"></td>";
                        }
                        else {
                            str += "<td onmouseout=\"returncss(\'mytd" + j + "\');\" onmousemove=\"getcss(\'mytd" + j + "\');\" id=\"mytd" + j + "\" style=\"cursor:hand\" onclick=\"getdate1(" + j + ");\">" + j + "</td>";
                            j = j + 1;
                        }
                    }
                    else {
                        str += "<td onmouseout=\"returncss(\'mytd" + j + "\');\" onmousemove=\"getcss(\'mytd" + j + "\');\" id=\"mytd" + j + "\" style=\"cursor:hand\" onclick=\"getdate1(" + j + ");\">" + j + "</td>";
                        j = j + 1;
                    }
                }
                str += "</tr><tr>";
            }
            mystr = str.substring(0, str.lastIndexOf('<tr>'));
            mystr += "</table>";
            document.getElementById("contain1").innerHTML = mystr;
        }
        
    </script>

    <%--退房时间前一个月--%>

    <script type="text/javascript">
        function beforedate1(obj) {
            document.getElementById("riqi").style.display = "none";
            document.getElementById("riqi1").style.display = "block";
            var nowyear = "";
            var nowmonth = "";
            var nowday = "";
            var myDate = new Date();
            if (obj == "xiangqian2") {
                return;
            }
            else if (document.getElementById("ruzhudate").value == "yyyy-mm-dd") {
                var arr = document.getElementById("nowdate1").innerHTML.split(' ');
                var arrmonth = arr[0].split('月');
                var arryear = arr[1].split('年');
                nowyear = arryear[0];

                if (changemonth1(arrmonth[0]) == "0") {
                    nowmonth = "11";
                    nowyear = parseInt(nowyear) - 1;
                }
                else {
                    nowmonth = parseInt(changemonth1(arrmonth[0])) - 1;
                    if (nowmonth < 10) {
                        nowmonth = "0" + nowmonth;
                    }
                }
                nowday = myDate.getDate();
                nowday = nowday - 1;
                if (nowday < 10) {
                    nowday = "0" + nowday;
                }

            }
            else {
                var ruzhutime = document.getElementById("ruzhudate").value;
                var arrlt = ruzhutime.split('-');
                nowyear = arrlt[0];
                nowmonth = arrlt[1];
                nowday = arrlt[2];
                if (nowday < 10) {
                    nowday = parseInt(nowday.replace("0", ""));
                    if (nowday < 10) {
                        nowday = "0" + nowday;
                    }
                }
            }
            displaydate1(nowyear, nowmonth, nowday);
            var nowmonth1 = myDate.getMonth(); //获取当前月份
            if (nowmonth == nowmonth1) {
                document.getElementById("xiangqian2").className = "l_arrow";
            }
        }
    </script>

</head>
<body onload="initialize()">
    <div class="m_top">
        <div class="top_login">
            <em id="phone_1"></em>
            <span></span>
            <em id="news_1"></em>
            <span><a href="#">媒体报道</a></span>
            <span class="u_login"><a href="/user/login.aspx">登录</a></span>
            <span class="u_regist"><a href="/user/DoRegist.aspx">注册</a></span>
        </div>
    </div>
    <form id="Form1" runat="server">
    <div class="main3_index_top">
        <div class="">
            <div class="city_int">
                <div class="city_i_t">
                    <input type="text" value="北京" class="city_i_t_i" onclick="toggleLocationPop();" id="searchCityValue" />
                    <input type="text" value="" class="city_i_t_i2" />
                    <div class="city_i_t_button">
                        <a href="#"></a>
                    </div>
                    <%--<div class="c_city2" style="display: none">
                        <p>
                            <strong>请点击选择城市</strong><em><a href="#">x</a></em></p>
                        <div class="c_city_top">
                            <a class="c_city_t_a" href="#">热门</a><a href="#">岁数大</a><a href="#">顺风耳</a><a href="#">斯蒂芬</a>
                        </div>
                        <div class="c_city_main">
                            <a href="#">北京</a> <a href="#">南京</a> <a href="#">天津</a> <a href="#">北京</a> <a href="#">
                                北京</a> <a href="#">北京</a> <a href="#">南京</a> <a href="#">天津</a> <a href="#">北京</a>
                            <a href="#">北京</a> <a href="#">北京</a> <a href="#">南京</a> <a href="#">天津</a> <a href="#">
                                北京</a> <a href="#">北京</a> <a href="#">北京</a> <a href="#">北京</a> <a href="#">北京</a>
                            <a href="#">南京</a>
                        </div>
                    </div>--%>
                    <div class="c_city" id="cityPop" style="display: none" style="left: 10px; top: 43px;">
                        <p>
                            <strong>请点击选择城市</strong><em><a href="#" onclick="toggleLocationPop();" style="cursor: hand">x</a></em></p>
                        <div class="c_city_top">
                            <a class="c_city_t_a" href="javascript:hid('热门','ABCDF','GHJL','NQRS','TWXYZ');">热门</a>
                            <a href="javascript:hid('ABCDF','热门','GHJL','NQRS','TWXYZ');">ABCDF</a> <a href="javascript:hid('GHJL','ABCDF','热门','NQRS','TWXYZ');">
                                GHJL</a> <a href="javascript:hid('NQRS','ABCDF','GHJL','热门','TWXYZ');">NQRS</a>
                            <a href="javascript:hid('TWXYZ','ABCDF','GHJL','NQRS','热门');">TWXYZ</a>
                        </div>
                        <div class="c_city_main" id="cityname" style="display: none">
                            <div style="display: block" id="热门">
                                <a onclick="setSearchCity(this, '110100', '北京');" href="javascript:void(0);"><strong>
                                    北京</strong></a> <a onclick="setSearchCity(this, '120100', '天津');" href="javascript:void(0);">
                                        天津</a> <a onclick="setSearchCity(this, '130300', '秦皇岛');" href="javascript:void(0);">
                                            秦皇岛</a> <a onclick="setSearchCity(this, '210100', '沈阳');" href="javascript:void(0);">
                                                沈阳</a> <a onclick="setSearchCity(this, '210200', '大连');" href="javascript:void(0);">
                                                    大连</a> <a onclick="setSearchCity(this, '310100', '上海');" href="javascript:void(0);">
                                                        上海</a> <a onclick="setSearchCity(this, '320100', '南京');" href="javascript:void(0);">
                                                            南京</a> <a onclick="setSearchCity(this, '320500', '苏州');" href="javascript:void(0);">
                                                                苏州</a> <a onclick="setSearchCity(this, '330100', '杭州');" href="javascript:void(0);">
                                                                    杭州</a> <a onclick="setSearchCity(this, '350200', '厦门');" href="javascript:void(0);">
                                                                        厦门</a> <a onclick="setSearchCity(this, '370200', '青岛');" href="javascript:void(0);">
                                                                            青岛</a> <a onclick="setSearchCity(this, '420100', '武汉');" href="javascript:void(0);">
                                                                                武汉</a> <a onclick="setSearchCity(this, '430100', '长沙');" href="javascript:void(0);">
                                                                                    长沙</a> <a onclick="setSearchCity(this, '440100', '广州');" href="javascript:void(0);">
                                                                                        广州</a> <a onclick="setSearchCity(this, '440300', '深圳');" href="javascript:void(0);">
                                                                                            深圳</a> <a onclick="setSearchCity(this, '460200', '三亚');" href="javascript:void(0);">
                                                                                                三亚</a> <a onclick="setSearchCity(this, '500300', '重庆');" href="javascript:void(0);">
                                                                                                    重庆</a> <a onclick="setSearchCity(this, '510100', '成都');" href="javascript:void(0);">
                                                                                                        成都</a> <a onclick="setSearchCity(this, '530700', '丽江');" href="javascript:void(0);">
                                                                                                            丽江</a>
                                <a onclick="setSearchCity(this, '610100', '西安');" href="javascript:void(0);">西安</a>
                            </div>
                            <div style="display: none" id="ABCDF">
                                <a onclick="setSearchCity(this, '110100', '北京');" href="javascript:void(0);">北京</a>
                                <a onclick="setSearchCity(this, '140200', '大同');" href="javascript:void(0);">大同</a>
                                <a onclick="setSearchCity(this, '140400', '长治');" href="javascript:void(0);">长治</a>
                                <a onclick="setSearchCity(this, '210600', '丹东');" href="javascript:void(0);">丹东</a>
                                <a onclick="setSearchCity(this, '220100', '长春');" href="javascript:void(0);">长春</a>
                                <a onclick="setSearchCity(this, '230600', '大庆');" href="javascript:void(0);">大庆</a>
                                <a onclick="setSearchCity(this, '320400', '常州');" href="javascript:void(0);">常州</a>
                                <a onclick="setSearchCity(this, '350100', '福州');" href="javascript:void(0);">福州</a>
                                <a onclick="setSearchCity(this, '430100', '长沙');" href="javascript:void(0);">长沙</a>
                                <a onclick="setSearchCity(this, '441900', '东莞');" href="javascript:void(0);">东莞</a>
                                <a onclick="setSearchCity(this, '450500', '北海');" href="javascript:void(0);">北海</a>
                                <a onclick="setSearchCity(this, '500300', '重庆');" href="javascript:void(0);">重庆</a>
                                <a onclick="setSearchCity(this, '510100', '成都');" href="javascript:void(0);">成都</a>
                            </div>
                            <div style="display: none" id="GHJL">
                                <a onclick="setSearchCity(this, '131000', '廊坊');" href="javascript:void(0);">廊坊</a>
                                <a onclick="setSearchCity(this, '150100', '呼和浩特');" href="javascript:void(0);">呼和浩特</a>
                                <a onclick="setSearchCity(this, '230100', '哈尔滨');" href="javascript:void(0);">哈尔滨</a>
                                <a onclick="setSearchCity(this, '330100', '杭州');" href="javascript:void(0);">杭州</a>
                                <a onclick="setSearchCity(this, '340100', '合肥');" href="javascript:void(0);">合肥</a>
                                <a onclick="setSearchCity(this, '360400', '九江');" href="javascript:void(0);">九江</a>
                                <a onclick="setSearchCity(this, '370100', '济南');" href="javascript:void(0);">济南</a>
                                <a onclick="setSearchCity(this, '421100', '黄冈');" href="javascript:void(0);">黄冈</a>
                                <a onclick="setSearchCity(this, '440100', '广州');" href="javascript:void(0);">广州</a>
                                <a onclick="setSearchCity(this, '450300', '桂林');" href="javascript:void(0);">桂林</a>
                                <a onclick="setSearchCity(this, '460100', '海口');" href="javascript:void(0);">海口</a>
                                <a onclick="setSearchCity(this, '511100', '乐山');" href="javascript:void(0);">乐山</a>
                                <a onclick="setSearchCity(this, '520100', '贵阳');" href="javascript:void(0);">贵阳</a>
                                <a onclick="setSearchCity(this, '530100', '昆明');" href="javascript:void(0);">昆明</a>
                                <a onclick="setSearchCity(this, '530700', '丽江');" href="javascript:void(0);">丽江</a>
                                <a onclick="setSearchCity(this, '540100', '拉萨');" href="javascript:void(0);">拉萨</a>
                            </div>
                            <div style="display: none" id="NQRS">
                                <a onclick="setSearchCity(this, '130100', '石家庄');" href="javascript:void(0);">石家庄</a>
                                <a onclick="setSearchCity(this, '130300', '秦皇岛');" href="javascript:void(0);">秦皇岛</a>
                                <a onclick="setSearchCity(this, '210100', '沈阳');" href="javascript:void(0);">沈阳</a>
                                <a onclick="setSearchCity(this, '310100', '上海');" href="javascript:void(0);">上海</a>
                                <a onclick="setSearchCity(this, '320100', '南京');" href="javascript:void(0);">南京</a>
                                <a onclick="setSearchCity(this, '320500', '苏州');" href="javascript:void(0);">苏州</a>
                                <a onclick="setSearchCity(this, '330200', '宁波');" href="javascript:void(0);">宁波</a>
                                <a onclick="setSearchCity(this, '350500', '泉州');" href="javascript:void(0);">泉州</a>
                                <a onclick="setSearchCity(this, '360100', '南昌');" href="javascript:void(0);">南昌</a>
                                <a onclick="setSearchCity(this, '370200', '青岛');" href="javascript:void(0);">青岛</a>
                                <a onclick="setSearchCity(this, '371100', '日照');" href="javascript:void(0);">日照</a>
                                <a onclick="setSearchCity(this, '440300', '深圳');" href="javascript:void(0);">深圳</a>
                                <a onclick="setSearchCity(this, '450100', '南宁');" href="javascript:void(0);">南宁</a>
                                <a onclick="setSearchCity(this, '460200', '三亚');" href="javascript:void(0);">三亚</a>
                            </div>
                            <div style="display: none" id="TWXYZ">
                                <a onclick="setSearchCity(this, '120100', '天津');" href="javascript:void(0);">天津</a>
                                <a onclick="setSearchCity(this, '130200', '唐山');" href="javascript:void(0);">唐山</a>
                                <a onclick="setSearchCity(this, '140100', '太原');" href="javascript:void(0);">太原</a>
                                <a onclick="setSearchCity(this, '320200', '无锡');" href="javascript:void(0);">无锡</a>
                                <a onclick="setSearchCity(this, '350200', '厦门');" href="javascript:void(0);">厦门</a>
                                <a onclick="setSearchCity(this, '370600', '烟台');" href="javascript:void(0);">烟台</a>
                                <a onclick="setSearchCity(this, '371000', '威海');" href="javascript:void(0);">威海</a>
                                <a onclick="setSearchCity(this, '410100', '郑州');" href="javascript:void(0);">郑州</a>
                                <a onclick="setSearchCity(this, '420100', '武汉');" href="javascript:void(0);">武汉</a>
                                <a onclick="setSearchCity(this, '433100', '湘西');" href="javascript:void(0);">湘西</a>
                                <a onclick="setSearchCity(this, '442000', '中山');" href="javascript:void(0);">中山</a>
                                <a onclick="setSearchCity(this, '450400', '梧州');" href="javascript:void(0);">梧州</a>
                                <a onclick="setSearchCity(this, '610100', '西安');" href="javascript:void(0);">西安</a>
                                <a onclick="setSearchCity(this, '630100', '西宁');" href="javascript:void(0);">西宁</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="bTime">
                    <input class="bTime_int" type="text" value="yyyy-mm-dd" onclick="displaydate();"
                        id="ruzhudate" />
                    <asp:TextBox ID="ruzhudatevalue" runat="server" Style="display: none"></asp:TextBox>
                    <div class="rate_table" style="display: none;left: 10px; top: 73px;" id="riqi">
                        <p>
                            <em class="l_arrow" id="xiangqian" onclick="beforedate(this.id);"><a href="#"></a>
                            </em><strong id="nowdate"></strong><em class="r_arrow" onclick="nextmonth();" style="cursor: hand">
                                <a href="#" onclick="nextmonth();"></a></em>
                        </p>
                        <div id="contain">
                        </div>
                        <p>
                            <a class="a_center" href="#" onclick="cleardate();">清除已选日期</a></p>
                    </div>
                    <input class="bTime_int" type="text" onclick="gettuifangdate();" id="ruzhudate1" value="yyyy-mm-dd" />
                    <asp:TextBox ID="ruzhudate1value" runat="server" Style="display: none"></asp:TextBox>
                    <div class="rate_table2" style="display: none;left: 223px; top: 73px;" id="riqi1">
                        <p>
                            <em class="l_arrow" id="xiangqian2" onclick="beforedate1(this.id);"><a href="#"></a>
                            </em><strong><strong id="nowdate1"></strong></strong><em class="r_arrow" style="cursor: hand"
                                onclick="nextmonth1();"><a href="#" onclick="nextmonth1();"></a></em>
                        </p>
                        <div id="contain1">
                        </div>
                        <p>
                            <a class="a_center" href="#" onclick="cleardate();">清除已选日期</a></p>
                    </div>
                    <select name="guestNum" class="s_select" id="guestNum">
                        <option value="1" selected="selected">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                        <option value="13">13</option>
                        <option value="14">14</option>
                        <option value="15">15</option>
                        <option value="16">16+</option>
                    </select>
                </div>
                <div class="city_int_bg">
                </div>
            </div>
            <div class="Choice_top">
                <dl>
                    <dt>行政区域：</dt>
                    <dd>
                    <%=AreaHtml %>
                        <%--<a href="#" class="b">全部</a><a href="#">全部</a><a href="#">全部</a></dd>--%>
                </dl>
                <%--<dl>
                    <dt>行政区域：</dt>
                    <dd>
                        <a href="#" class="block_a">全部</a><a href="#">全部</a><a href="#">全部</a></dd>
                </dl>--%>
                <%--<div class="move_choice">
                    <a href="#">更多选项</a></div>--%>
            </div>
        </div>
    </div>
    <div class="main3_index_main">
        <div class="main3_index_m_l">
            <div class="m3_in_m_lt">
                <div class="s_Result">
                    <strong>共<span><%=SearchResCount %></span>个搜索结果</strong>
                </div>
                <div class="list_d">
                    <em><a href="#">地图显示</a></em> <em><a href="#" class="list_d_em_a">列表显示</a></em>
                </div>
            </div>
            <div class="m3_in_m_lm">
                <div class="page_t">
                    <span><a href="#"><strong>价格↓</strong></a></span><%--<span><a href="#" class="page_t_now">爱日租推荐</a></span> <span><a href="#">受欢迎推荐</a></span>
                     <span><a href="#">距离↓</a></span>--%>
                    <p style="float: right">
                        <%=PageHtml%>
                    </p>
                </div>
                <ul>
                    <%=RoomHtml %>
                </ul>
                <div class="page_t">
                    <%--<span><a href="#" class="page_t_now">爱日租推荐</a></span> <span><a href="#">受欢迎推荐</a></span>
                    <span><a href="#">价格↓</a></span> <span><a href="#">距离↓</a></span>--%>
                    <p>
                        <%=PageHtml%>
                    </p>
                </div>
            </div>
        </div>
        <div class="main3_index_m_r">
            <%--地图容器--%>
            <div class="map_div" id="container">
            </div>
            <%--获取页面上所有地址--%>
            <input type="hidden" id="adress" value="<%=str %>" />
            <div class="ts_room">
                <div class="ts_room_top">
                    <strong>特色</strong><span>房间</span><a href="#">换一组</a>
                </div>
                <div>
                    <div class="ts_room_img">
                        <a href="Room.aspx?sendroomid=<%=SpecificRoomID[0] %>">
                            <img src="<%=SpecificRoomImg[0] %>" /></a>
                    </div>
                    <div class="">
                        <div>
                            <strong><a href="Room.aspx?sendroomid=<%=SpecificRoomID[0] %>"><%=SpecificRoomTitle[0] %></a></strong>&nbsp;&nbsp;<a href="#"><%=SpecificRoomCity[0] %></a></div>
                        <span>推荐理由：</span><%=SpecificRoomReason[0] %>
                    </div>
                </div>
                <div>
                    <div class="ts_room_img">
                        <a href="Room.aspx?sendroomid=<%=SpecificRoomID[1] %>">
                            <img src="<%=SpecificRoomImg[1] %>" /></a>
                    </div>
                    <div class="">
                        <div>
                            <strong><a href="Room.aspx?sendroomid=<%=SpecificRoomID[1] %>"><%=SpecificRoomTitle[1] %></a></strong>&nbsp;&nbsp;<a href="#"><%=SpecificRoomCity[1] %></a></div>
                        <span>推荐理由：</span><%=SpecificRoomReason[1] %>
                    </div>
                </div>
                <%--<div>
                    <div class="ts_room_img">
                        <a href="#">
                            <img src="#" /></a>
                    </div>
                    <div class="">
                        <div>
                            <strong><a href="#">威海海边特色观海别墅</a></strong>&nbsp;&nbsp;<a href="#">[威海]</a></div>
                        <span>推荐理由：</span>给力别墅有木有，出门观海有木有
                    </div>
                </div>
                <div>
                    <div class="ts_room_img">
                        <a href="#">
                            <img src="#" /></a>
                    </div>
                    <div class="">
                        <div>
                            <strong><a href="#">威海海边特色观海别墅</a></strong>&nbsp;&nbsp;<a href="#">[威海]</a></div>
                        <span>推荐理由：</span>给力别墅有木有，出门观海有木有
                    </div>
                </div>--%>
            </div>
            <div class="tj_city">
                <div class="ts_room_top">
                    <strong>推荐</strong><span>城市</span>
                </div>
                <div class="tj_c_name">
                    <%=CityHtml %>
                </div>
            </div>
        </div>
    </div>
    </form>
    <div class="foot_1">
        <p>
            © Copyright 2011 airizu.com All rights reserved. 京ICP证110553 号</p>
        <p>
            <a href="#">
                <img src="img/alipay.gif" /></a><a href="#"><img src="img/315.gif" /></a><a href="#"><img
                    src="img/bluelogoair.gif" /></a><a href="#"></a><a href="#"><img src="img/tenpay.gif" /></a>
        </p>
    </div>
</body>
<%--列表页大小地图--%>

</html>
